package com.chuang.bootplus.service;

import com.chuang.bootplus.base.utils.ApiResponse;
import com.chuang.bootplus.entity.TopicComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chuang.bootplus.po.topic.TopicCommentListPO;
import com.chuang.bootplus.po.topic.TopicCommentSavePO;
import com.chuang.bootplus.vo.TopicCommentVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-08-17
 */
public interface TopicCommentService extends IService<TopicComment> {

    /**
     * 保存
     * @return
     * @param po
     */
    ApiResponse<Void> save(TopicCommentSavePO po);

    ApiResponse<TopicCommentVO> list(TopicCommentListPO po);
}
